<template>
  <div>
    <HelloWorld />
    <HelloWorld />
  </div>
</template>

<script>
//引入子组件
import HelloWorld from './components/HelloWorld.vue'
export default {
  // 注册组件
  components: {
    HelloWorld,
  },
}
</script>

<style>
.my_div {
  width: 200px;
  border: 1px solid black;
  text-align: center;
  float: left;
}

.my_div img {
  width: 100%;
  height: 200px;
}
</style>
